/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package bo2s.data;

/**
 *
 * @author dinhxuan239
 */
public class InforPost {
   private String name;
   private String decreption;
   private String content;
   private int publish;
   private String created;
   private int catelogyid;
   private int userid;
   private int id;

    public InforPost(String name, String decreption, String content, int publish, String created, int catelogyid, int userid, int id) {
        this.name = name;
        this.decreption = decreption;
        this.content = content;
        this.publish = publish;
        this.created = created;
        this.catelogyid = catelogyid;
        this.userid = userid;
        this.id = id;
    }

    public InforPost() {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDecreption() {
        return decreption;
    }

    public void setDecreption(String decreption) {
        this.decreption = decreption;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getPublish() {
        return publish;
    }

    public void setPublish(int publish) {
        this.publish = publish;
    }

    public String getCreated() {
        return created;
    }

    public void setCreated(String created) {
        this.created = created;
    }

    public int getCatelogyid() {
        return catelogyid;
    }

    public void setCatelogyid(int catelogyid) {
        this.catelogyid = catelogyid;
    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
   
   
}
